package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;
import com.itheima.pojo.Role;
import com.itheima.pojo.SysUser;

import java.util.List;

/**
 * @author: xy
 * @Date: create in 2020/3/8
 * @description:
 * @version: 1.0
 */
public interface UserDynamicMaintenanceService {
    PageResult findByPage(QueryPageBean queryPageBean);

    void add(SysUser sysUser, Integer[] roleIds);

    void delById(Integer id);

    SysUser findById(Integer id);

    void edit(SysUser sysUser,Integer[] roleIds);

    List<Integer> findRoleIdsById(Integer id);
}
